package com.seannews.server.Service;

import com.seannews.server.Pojo.Basicinfo;
import com.seannews.server.Pojo.Basicinfo2;
import com.seannews.server.Pojo.News;
import com.seannews.server.Pojo.Newstype;

import java.util.List;

public interface NewsService {
    public List<News> getNewsList(String type);
    public List<News> getNewsall(int start,int stop,String title,String newsId,String category);
    public List<Newstype> getNewstypecount();
    public News getNewbyid(String newsId,String userId);
    public Basicinfo getBasicinfo();
    public Basicinfo2 getBasicinfo2();
    public List<Newstype> getvisitbytype();
    public List<Newstype> getdatecount();
    public int getnewscount();
    public void deletenews(String newsId);
}
